package com.situ.tos2024.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * 功能：菜品分类
 *
 * @author 千堆雪
 * @version 1.0.0
 * <p>
 * created by 千堆雪 on 2024/3/22, last modified by 千堆雪 on 2024/3/22
 */
@Getter
@Setter
@ToString
@JsonIgnoreProperties("handler")
public class Category extends AbstractEntity {
    private Integer parentId;//父分类编号
    private String name;//分类名称
    private String subName;//副名称
    private String summary;//简介
    private String tags;//json格式字符串
    private List<Category> children;//子分类
    private Store store;//所属店铺
    private Category refCat;//关联平台公共类别
}
